# 基础镜像
FROM eclipse-temurin:17
# 作者
MAINTAINER yshujia
# 工作目录
WORKDIR /home/java
# 设置时区
ENV TZ=Asia/Shanghai

EXPOSE 9898

ENTRYPOINT ["java","-Dspring.profiles.active=application.yml","-Djasypt.encryptor.password=123456","-Dspring.config.location=/home/java/application.yml","-jar","/home/java/yshujia.jar"]
